package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipWarehouseStock;
import cc.comac.mom.bean.EquipWarehouseStockBean;
import cc.comac.mom.bean.ResultDev;
@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipWarehouseStockService {

	// 通过备件编号查询库存信息
	@RequestMapping(value = "/p/cs/EquipWarehouseStockService/selectBySparePartId",method = RequestMethod.POST)
	public ResultDev selectBySparePartId(@RequestBody EquipWarehouseStock equipWarehouseStock);

	@RequestMapping(value = "/p/cs/EquipWarehouseStockService/selectByFields",method = RequestMethod.POST)
	public ResultDev selectByFields(@RequestBody EquipWarehouseStockBean obj);
}
